<template>
    <div style="height: 100%">
      <div class="title" v-if="title">{{title}}</div>
      <div class="itemBox">
        <div class="item">1</div>
        <div class="item">2</div>
      </div>
    </div>
</template>

<script>
  export default {
    name: 'capsuleChart',
    props: {
      title: {
        type: String,
        default: ''
      }
    }
  }
</script>

<style scoped>
  .title { text-align: center; font-size: 17px; padding-bottom: 20px; font-weight: bold}
  .itemBox{ display: grid; grid-auto-columns: 1fr}
</style>
